WooCommerce\Square\Handlers\Sync A

Total Complexity 52
Dependencies 4
Dependents 1
Total lines 409
Lines of code 160
Logical lines of code 65
Comment lines 156
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
schedule_sync()
S
61 7 11
start_interval_sync()
S
57 4 17
record_sync()
S
59 4 15
get_job_in_progress()
S
63 5 9
start_manual_sync()
S
60 3 14
render_import_no_navigation_warning()
S
62 3 12
is_sync_in_progress()
S
74 3 4
set_inventory_last_synced_at()
S
69 3 6
set_last_synced_at()
S
69 3 6
get_next_sync_at()
S
67 3 8
start_manual_deletion()
S
62 2 13
start_product_import()
S
63 2 12
get_last_synced_at()
S
74 2 4
get_inventory_last_synced_at()
S
74 2 4
get_plugin()
S
82 1 3
__construct()
S
74 1 5
add_hooks()
S
72 1 5
unschedule_sync()
S
79 1 3
supported_product_types()
S
73 1 6
is_sync_enabled()
S
81 1 3